-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix community page mobile responsiveness and horizontal overflow #6082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix community page mobile responsiveness and horizontal overflow #6082
Conversation
- Fix horizontal overflow caused by skip-to-content link positioning - Add overflow-x: hidden to html, body, and main containers - Improve StarsCard responsive layout with proper breakpoints - Replace Docusaurus col classes with Tailwind responsive widths - Add flex-wrap and proper gap spacing for community stars grid - Ensure all content respects viewport width on mobile, tablet, and desktop - Maintain accessibility for skip-to-content link when focused
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes mobile responsiveness and horizontal overflow issues on the community page. The problem was caused by the skip-to-content accessibility link's fixed positioning and the community stars cards not properly wrapping on smaller screens, resulting in ~12px of unwanted horizontal scrolling on mobile devices.
Key changes:
- Added defensive CSS with
overflow-x: hiddenonhtml,body, and main containers to prevent horizontal scroll - Fixed skip-to-content link positioning to use
position: absolutewhen hidden, switching toposition: fixedon focus for accessibility - Replaced Docusaurus
colclasses with Tailwind responsive utilities, implementing proper breakpoints (mobile: 100%, small: 50%, medium: 33.333%, large: 20% width)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| documentation/src/css/custom.css | Added overflow-x hidden rules globally and fixed skip-to-content link positioning to prevent horizontal scroll while maintaining accessibility |
| documentation/src/pages/community/index.tsx | Replaced Docusaurus grid classes with Tailwind responsive utilities and added flex-wrap with proper gap spacing for mobile-friendly card layout |
…nses-streaming * 'main' of github.com:block/goose: Fix community page mobile responsiveness and horizontal overflow (#6082) Tool reply meta (#6074) chore: avoid accidentally using native tls again (#6086) Update vars to be capitalised to be in line with other variables in config file (#6085) docs: restructure recipe reference (#5972) docs: configure custom providers (#6044) docs: Community All-Stars Spotlight November 2025, CodeTV Hackathon edition (#6070) fix: include file attachments in queued messages (#5961) fix(ui): prevent incorrect provider type suffix in update dialog #5908 (#5909) docs: mcp elicitation (#6060)
* main: fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101) refactor: unify subagent and subrecipe tools into single tool (#5893) goose repo is too big for the issue solver workflow worker (#6099) fix: use system not developer role in db (#6098) Add /goose issue solver github workflow (#6068) OpenAI responses streaming (#5837) Canonical models for Providers (#5694) feat: add Inception provider for Mercury models (#6029) fix old sessions with tool results not loading (#6094) Fix community page mobile responsiveness and horizontal overflow (#6082)
* 'main' of github.com:block/goose: (22 commits) Disallow subagents with no extensions (#5825) chore(deps): bump js-yaml in /documentation (#6093) feat: external goosed server (#5978) fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101) refactor: unify subagent and subrecipe tools into single tool (#5893) goose repo is too big for the issue solver workflow worker (#6099) fix: use system not developer role in db (#6098) Add /goose issue solver github workflow (#6068) OpenAI responses streaming (#5837) Canonical models for Providers (#5694) feat: add Inception provider for Mercury models (#6029) fix old sessions with tool results not loading (#6094) Fix community page mobile responsiveness and horizontal overflow (#6082) Tool reply meta (#6074) chore: avoid accidentally using native tls again (#6086) Update vars to be capitalised to be in line with other variables in config file (#6085) docs: restructure recipe reference (#5972) docs: configure custom providers (#6044) docs: Community All-Stars Spotlight November 2025, CodeTV Hackathon edition (#6070) fix: include file attachments in queued messages (#5961) ... # Conflicts: # crates/goose-server/src/routes/agent.rs # crates/goose/src/agents/extension_manager.rs # ui/desktop/src/api/sdk.gen.ts
…sions * 'main' of github.com:block/goose: (22 commits) Disallow subagents with no extensions (#5825) chore(deps): bump js-yaml in /documentation (#6093) feat: external goosed server (#5978) fix: Make datetime info message more explicit to prevent LLM confusion about current year (#6101) refactor: unify subagent and subrecipe tools into single tool (#5893) goose repo is too big for the issue solver workflow worker (#6099) fix: use system not developer role in db (#6098) Add /goose issue solver github workflow (#6068) OpenAI responses streaming (#5837) Canonical models for Providers (#5694) feat: add Inception provider for Mercury models (#6029) fix old sessions with tool results not loading (#6094) Fix community page mobile responsiveness and horizontal overflow (#6082) Tool reply meta (#6074) chore: avoid accidentally using native tls again (#6086) Update vars to be capitalised to be in line with other variables in config file (#6085) docs: restructure recipe reference (#5972) docs: configure custom providers (#6044) docs: Community All-Stars Spotlight November 2025, CodeTV Hackathon edition (#6070) fix: include file attachments in queued messages (#5961) ... # Conflicts: # crates/goose-server/src/routes/agent.rs # crates/goose/src/agents/extension_manager.rs # ui/desktop/src/api/sdk.gen.ts
Problem
@sheikhlimon reported "@taniandjerry @blackgirlbytes I think there's a Mobile layout issue on Community Stars Section StarsCard don't properly stack on smaller screens"
The community page had horizontal overflow issues on mobile and tablet devices, caused by:
2. Community Stars cards not properly wrapping on smaller screens
3. No defensive CSS to prevent horizontal scroll
This created ~12px of unwanted horizontal space, making the page scroll horizontally on mobile devices.
Solution
CSS Fixes (
documentation/src/css/custom.css)overflow-x: hiddentohtml,body, and main containersposition: absolutewithleft: -9999pxwhen hiddenmax-width: 100%to prevent any element from exceeding viewport widthComponent Fixes (
documentation/src/pages/community/index.tsx)colclasses with Tailwind responsive width utilitiesflex-wrapand proper gap spacing for community stars gridtransition-allfor smoother hover effectsTesting
Verified no horizontal overflow at multiple viewport sizes:
Screenshots
Before: Community stars had to scroll horizontally

After: Community stars vertically stacked

Yes, I used goose for this PR.